const ignored = ['**/uni_modules/**/*.md', '**/uni_modules/**/package.json', '**/uni_modules/*/uniCloud/**/*']
module.exports = {
  transpileDependencies: ['@dcloudio/uni-ui'],
  css: {
    loaderOptions: {
      postcss: {
        plugins: [
          require('postcss-import')({
            skipDuplicates: true
          }),
          // 其他的 postcss 插件
        ],
      },

    },
  },
  configureWebpack() {
    return {
      watchOptions: {
        ignored
      },
      devServer: {
        watchOptions: {
          ignored
        }
      }
    }
  }
}